delete unimplemented options (#1355)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Mon, 21 Oct 2024 19:30:44 +0000 (13:30 -0600)
committerGitHub <noreply@github.com>
Mon, 21 Oct 2024 19:30:44 +0000 (13:30 -0600)
* delete globalsat_sport track option

which was never implemented.

* delete ancient geo nuke_placer option

which hasn't worked since ~1.4.4

geo.h
globalsat_sport.h
reference/format3.txt
reference/help.txt
xmldoc/formats/options/geo-nuke_placer.xml [deleted file]
xmldoc/formats/options/globalsat-track.xml [deleted file]

diff --git a/geo.h b/geo.h
index dac3cf4d469e5ac9d2499ff7c1304afb5585d135..785d0c4f0899e4337a4827f0b1c3be11d85bc040 100644 (file)
--- a/geo.h
+++ b/geo.h
@@ -68,11 +68,9 @@ private:
   /* Data Members */
 
   OptionCString deficon;
-  OptionBool nuke_placer;
 
   QVector<arglist_t> geo_args = {
     {"deficon", &deficon, "Default icon name", nullptr, ARGTYPE_STRING, ARG_NOMINMAX, nullptr },
-    {"nuke_placer", &nuke_placer, "Omit Placer name", nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr },
   };
 };
 #endif // GEO_H_INCLUDED_
index 1e7c59853ad0a4fb910ccd304d89ea55caec6825..374a537cbb3d9e889522175ab72884645586964e 100644 (file)
@@ -230,7 +230,6 @@ private:
   bool isSizeSwapped{false};
 
   OptionBool showlist;                  // if true show a list instead of download tracks
-  OptionCString track;                  // if not 0 only download this track, if 0 download all
 
   OptionCString opt_dump_file;          // dump raw data to this file (optional)
   OptionBool opt_input_dump_file;       // if true input is from a dump-file instead of serial console
@@ -241,7 +240,6 @@ private:
 
   QVector<arglist_t> globalsat_args = {
     {"showlist", &showlist, "list tracks", nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr},
-    {"track", &track, "get track", "0", ARGTYPE_INT, ARG_NOMINMAX, nullptr},
     {"dump-file", &opt_dump_file, "Dump raw data to this file", nullptr, ARGTYPE_OUTFILE, ARG_NOMINMAX, nullptr},
     {"input-is-dump-file", &opt_input_dump_file, "Dump raw data to this file", nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr},
     {"timezone", &opt_timezone, "Time zone ID", nullptr, ARGTYPE_STRING, ARG_NOMINMAX, nullptr},
index 217be656f5f499d4c8d94b47dc817785591ddd78..8904538b7a4e736551f0ad53926f0c287184e8f9 100644 (file)
@@ -308,8 +308,6 @@ file        rw----  geo     loc     Geocaching.com .loc     geo
        https://www.gpsbabel.org/WEB_DOC_DIR/fmt_geo.html
 option geo     deficon Default icon name       string                          https://www.gpsbabel.org/WEB_DOC_DIR/fmt_geo.html#fmt_geo_o_deficon
 
-option geo     nuke_placer     Omit Placer name        boolean                         https://www.gpsbabel.org/WEB_DOC_DIR/fmt_geo.html#fmt_geo_o_nuke_placer
-
 file   rwrwrw  geojson json    GeoJson geojson
        https://www.gpsbabel.org/WEB_DOC_DIR/fmt_geojson.html
 option geojson compact Compact Output. Default is off. boolean                         https://www.gpsbabel.org/WEB_DOC_DIR/fmt_geojson.html#fmt_geojson_o_compact
@@ -342,8 +340,6 @@ serial      --r---  globalsat               GlobalSat GH625XT GPS training watch    globalsat
        https://www.gpsbabel.org/WEB_DOC_DIR/fmt_globalsat.html
 option globalsat       showlist        list tracks     boolean                         https://www.gpsbabel.org/WEB_DOC_DIR/fmt_globalsat.html#fmt_globalsat_o_showlist
 
-option globalsat       track   get track       integer 0                       https://www.gpsbabel.org/WEB_DOC_DIR/fmt_globalsat.html#fmt_globalsat_o_track
-
 option globalsat       dump-file       Dump raw data to this file      outfile                         https://www.gpsbabel.org/WEB_DOC_DIR/fmt_globalsat.html#fmt_globalsat_o_dump-file
 
 option globalsat       input-is-dump-file      Dump raw data to this file      boolean                         https://www.gpsbabel.org/WEB_DOC_DIR/fmt_globalsat.html#fmt_globalsat_o_input-is-dump-file
index 4919782464c8df91629ab8955c3feb740b759b4c..778357b5cc3980dfe8634e24ea621e5bb260cf1b 100644 (file)
@@ -159,7 +159,6 @@ File Types (-i and -o options):
          sport                 Sport: Biking (deflt), Running, MultiSport, Other
        geo                   Geocaching.com .loc
          deficon               Default icon name
-         nuke_placer           (0/1) Omit Placer name
        geojson               GeoJson
          compact               (0/1) Compact Output. Default is off.
        dg-100                GlobalSat DG-100/BT-335 Download
@@ -170,7 +169,6 @@ File Types (-i and -o options):
          erase_only            (0/1) Only erase device data, do not download anything
        globalsat             GlobalSat GH625XT GPS training watch
          showlist              (0/1) list tracks
-         track                 get track
          dump-file             Dump raw data to this file
          input-is-dump-file    (0/1) Dump raw data to this file
          timezone              Time zone ID
diff --git a/xmldoc/formats/options/geo-nuke_placer.xml b/xmldoc/formats/options/geo-nuke_placer.xml
deleted file mode 100644 (file)
index 325861d..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<para>
-If this option is specified, GPSBabel will not read geocache placer information
-from a .loc file on input.  That is, it will ignore any placer names in the
-input file.
-</para>
-<para>
-This option has no effect on output.
-</para>
diff --git a/xmldoc/formats/options/globalsat-track.xml b/xmldoc/formats/options/globalsat-track.xml
deleted file mode 100644 (file)
index fa0ff87..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<para>
-The 'track' option is used to fetch a single named track, probably one you
-learned about via the 'showlist' option from a previous invocation, instead
-of fetching all the tracks, which is our default.
-</para>
-<example xml:id="globalsat-option-track">
-  <title>Command track can be used to fetch a single track, default is all tracks</title>
-  <para><userinput>gpsbabel -i globalsat,track=number -f /dev/ttyUSB0 -o gpx,garminextensions -F outfile.gpx</userinput></para>
-</example>